package com.yunhe.spring.mybatis.model;

import java.io.Serializable;
import java.util.Date;

public class Goods implements Serializable {

	/**
	 * 商品模型
	 */
	private static final long serialVersionUID = 1L;
	/*
	 * 商品ID
	 */
	private Integer gid;

	/*
	 * 商品名称
	 */
	private String gname;

	/*
	 * 商品价格
	 */
	private Double gprice;

	/*
	 * 生产日期
	 */
	private Date prodate;

	public Integer getGid() {
		return gid;
	}

	public void setGid(Integer gid) {
		this.gid = gid;
	}

	public String getGname() {
		return gname;
	}

	public void setGname(String gname) {
		this.gname = gname;
	}

	public Double getGprice() {
		return gprice;
	}

	public void setGprice(Double gprice) {
		this.gprice = gprice;
	}

	public Date getProdate() {
		return prodate;
	}

	public void setProdate(Date prodate) {
		this.prodate = prodate;
	}

	@Override
	public String toString() {
		return "Goods [gid=" + gid + ", gname=" + gname + ", gprice=" + gprice + ", prodate=" + prodate + "]";
	}

}
